﻿
namespace SharpMap.Styles
{
    public class VectorStyle : Style
    {
        public VectorStyle()
        {
            Outline = new Pen() { Color = new Color(), Width = 1 };
            Line = new Pen() { Color = new Color(), Width = 1 };
            Opacity = 1;
            //Fill = new Brush() { Fill = new Color() };
        }
        /// <summary>
        /// Linestyle for line geometries
        /// </summary>
        public Pen Line { get; set; }

        /// <summary>
        /// Outline style for line and polygon geometries
        /// </summary>
        public Pen Outline { get; set; }

        /// <summary>
        /// Fillstyle for Polygon geometries
        /// </summary>
        public Brush Fill { get; set; }

        /// <summary>
        /// Opacity for the geometry range 0 - 1
        /// </summary>
        public double Opacity { get; set; }
    }
}
